Remove
TheRemove
method removes all properties and values in the current focus context from this storage unit.
ODStorageUnit Remove ();
- return value
- A reference to this storage unit.
DISCUSSION
If the current focus context is the entire storage unit, this method removes all properties and their values. If it is focused on a property, this method removes the focused property and all its values. If it is focused on a value, this method removes the focused value.After this method executes successfully, the storage unit is unfocused.
EXCEPTIONS
kODErrZeroRefCount
- This storage unit has a reference count of 0.
SEE ALSO
TheODStorageUnit::AddProperty
method (page 670).
TheODStorageUnit::AddValue
method (page 671).
Listing 2-42 on page 101 in OpenDoc Cookbook.
Listing 2-43 on page 103 in OpenDoc Cookbook.
Listing 2-47 on page 110 in OpenDoc Cookbook.
"Removing Properties and Values" on page 278 in OpenDoc Programmer's Guide.
"Removing a Link Specification From the Clipboard" on page 357 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help